package com.example.service.service.impl;

import com.example.service.Calculate;
import com.example.vo.Addvo;
import io.swagger.v3.oas.annotations.servers.Server;
import org.springframework.stereotype.Service;

/**
 * @version 1.0.0
 * @auth lsjweiyi
 * @date 2021/5/11
 */
@Service
public class CalculateImpl implements Calculate {
    @Override
    public int add(Addvo addvo) {
        return addvo.getNum1()+ addvo.getNum2();
    }
}
